Azure Maps Dataset Service (preview:2.0)

2025/10/06 • 5 deleted methods

Dataset_Create (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `Create` API is an HTTP `POST` request that takes the `conversionId` value of the converted drawing package and returns the `datasetId` property of the newly created dataset. For more information, see [Create a dataset](/azure/azure-maps/tutorial-creator-indoor-maps#create-a-dataset). You can use this request in a scenario like uploading a DWG zip package for a building, converting the zip package using the Azure Maps [Conversion](/rest/api/maps-creator/conversion) service, and creating a dataset from the converted zip package. The created dataset can be used to create tilesets using the Azure Maps [Tileset](/rest/api/maps-creator/tileset) service and can be queried via the Azure Maps [WFS](/rest/api/maps-creator/wfs) service. ### Submit Create Request To create your dataset, you will use a `POST` request where the `conversionId` query parameter is an ID that represents the converted DWG zip package, the `datasetId` parameter is the ID of a previously created dataset to append with the current dataset and, optionally, the `description` query parameter will contain a description (if description is not provided a default description will be given). The Create API is a [long-running operation](https://aka.ms/am-creator-lrt-v2).
Reference Link ¶

⚼ Request

POST:  /datasets
{
x-ms-client-id: string ,
api-version: string ,
conversionId: string ,
datasetId: string ,
description: string ,
}

⚐ Response (200)

{
$headers:
{
resource-location: string ,
}
,
$schema:
{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_List (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). To list all your datasets, you will issue a `GET` request with no additional parameters. ### List Data Response The List API returns the complete list of all datasets in `json` format. The response contains the following fields (if they are not null or empty): > created - The timestamp the dataset was created. > datasetId - The id for the dataset. > description - The description for the dataset. > datasetSources - The source data that was used when the create request was issued. > ontology - The source [ontology](/azure/azure-maps/creator-facility-ontology) that was used in the conversion service for the input data.
The `datasetSources` describes the source data that was used when the create request was issued and contains the following elements (if they are not null or empty): > conversionIds - The list of `conversionId` (null if none were provided). > appendDatasetId - The `datasetId` that was used for an append operation (null if none was used). >featureCounts - The counts for each feature type in the dataset.
Here's a sample response returning the `timestamp`, `datasetId`, `description`, `datasetSources`, and `ontology` of 3 dataset resources: ```json { "datasets": [ { "timestamp": "2020-01-01T22:50:48.123Z", "datasetId": "f6495f62-94f8-0ec2-c252-45626f82fcb2", "description": "Some description or comment for the dataset.", "datasetSources": { "conversionIds": [ "15d21452-c9bb-27b6-5e79-743ca5c3205d" ], }, "": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } }, { "timestamp": "2020-01-01T22:57:53.123Z", "datasetId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", "description": "Create from upload '0c1288fa-2058-4a1b-b68d-13a5f5af7d7c'.", "datasetSources": { "conversionIds": [ "0c1288fa-2058-4a1b-b68d-13a5f5af7d7c" ], "appendDatasetId": "46d1edb6-d29e-4786-9589-dbd4efd7a977" }, "ontology": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } } ] } ```
Reference Link ¶

⚼ Request

GET:  /datasets
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
datasets:
[
{
created: string ,
datasetId: string ,
ontology: string ,
description: string ,
datasetSources:
{
conversionIds:
[
string ,
]
,
appendDatasetId: string ,
}
,
featureCounts: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_Get (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Get Details Request To get the details for a previously created dataset, you will issue a `GET` request with the `datasetId` in the path. ### Get Details Response The Get Details API returns the details for a dataset in `json` format. The response contains the following fields (if they are not null or empty): > created - The timestamp the dataset was created. > datasetId - The id for the dataset. > description - The description for the dataset. > datasetSources - The source data that was used when the create request was issued. > ontology - The source [ontology](/azure/azure-maps/creator-facility-ontology) that was used in the conversion service for the input data.
The `datasetSources` describes the source data that was used when the create request was issued and contains the following elements (if they are not null or empty): > conversionIds - The list of `conversionId` (null if none were provided). > appendDatasetId - The `datasetId` that was used for an append operation (null if none was used). >featureCounts - The counts for each feature type in the dataset.
Here's a sample response returning the `timestamp`, `datasetId`, `description`, `datasetSources`, and `ontology` of a dataset resource: ```json { "timestamp": "2020-01-01T22:50:48.123Z", "datasetId": "f6495f62-94f8-0ec2-c252-45626f82fcb2", "description": "Some description or comment for the dataset.", "datasetSources": { "conversionIds": [ "15d21452-c9bb-27b6-5e79-743ca5c3205d" ], }, "ontology": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } } ```
Reference Link ¶

⚼ Request

GET:  /datasets/{datasetId}
{
x-ms-client-id: string ,
datasetId: string ,
api-version: string ,
}

⚐ Response (200)

{
created: string ,
datasetId: string ,
ontology: string ,
description: string ,
datasetSources:
{
conversionIds:
[
string ,
]
,
appendDatasetId: string ,
}
,
featureCounts: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_Delete (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Delete Request To delete your content you will issue a `DELETE` request where the path will contain the `datasetId` of the dataset to delete.
Reference Link ¶

⚼ Request

DELETE:  /datasets/{datasetId}
{
x-ms-client-id: string ,
api-version: string ,
datasetId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_GetOperation (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `Get Operation` API is an HTTP `GET` request used to check the status of the dataset creation process and retrieve the `datasetId` value. ### Submit Operations Request To view the current progress of a dataset operation, you will use a `GET` request where the `operationId` given the path is the ID that represents the operation. ### Operation Response While in progress, a `200-OK` http status code is returned with no extra headers. If the operation succeeds, a `200-OK` http status code with Resource-Location header is returned.
Reference Link ¶

⚼ Request

GET:  /datasets/operations/{operationId}
{
x-ms-client-id: string ,
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
$headers:
{
resource-location: string ,
}
,
$schema:
{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}